package com.mdc.mansion.dataaccess.modules.basedata.entity;

import com.mdc.mansion.dataaccess.common.persistence.BaseEntity;
/**
 * 二维码批量生成报表持久类
 * @author xizf
 * @version 2018-04-09
 */
public class QrcodeUseLog extends BaseEntity<QrcodeUseLog>{
	private static final long serialVersionUID = 1L;
    private String codeSign;
    private String codeUrl;
    private String qrcodeStatus;
    private String restaurantId;
    private String restaurantTableId;
    private String createBeginTime;
    private String createEndTime;
    
    
    public String getCodeSign(){
        return codeSign;
    }

    public void setCodeSign(String codeSign){
        this.codeSign=codeSign;
    }

    public String getCodeUrl(){
        return codeUrl;
    }

    public void setCodeUrl(String codeUrl){
        this.codeUrl=codeUrl;
    }

    public String getQrcodeStatus(){
        return qrcodeStatus;
    }

    public void setQrcodeStatus(String qrcodeStatus){
        this.qrcodeStatus=qrcodeStatus;
    }

    public String getRestaurantId(){
        return restaurantId;
    }

    public void setRestaurantId(String restaurantId){
        this.restaurantId=restaurantId;
    }

    public String getRestaurantTableId(){
        return restaurantTableId;
    }

    public void setRestaurantTableId(String restaurantTableId){
        this.restaurantTableId=restaurantTableId;
    }
    
  public String getCreateBeginTime() {
		return createBeginTime;
	}

	public void setCreateBeginTime(String createBeginTime) {
		this.createBeginTime = createBeginTime;
	}

	public String getCreateEndTime() {
		return createEndTime;
	}

	public void setCreateEndTime(String createEndTime) {
		this.createEndTime = createEndTime;
	}



	//当前订单状态 0：客户点餐 1：服务员确认 2：财务结账   3:撤单
    public enum QRCODE_STATUS{
    	UNUSED("未使用","0"),
    	USED("服务员确认","1"),
    	INVALID ("已作废","2");
        private String name;
        private String val;
        QRCODE_STATUS(String name, String val) {
            this.name = name;
            this.val = val;
        }
        
        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }
    }

}